reading the icon resource.